residue theorem integral examples